//
//  FXTCustomViewFactory.h
//  OfferJob
//
//  Created by 郑州动力无限科技 on 2017/6/30.
//  Copyright © 2017年 郑州动力无限科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FXTCustomViewFactory : NSObject

// 快速生产出button
+ (UIButton*)createButton:(CGRect)frame title:(NSString*)title Image:(UIImage*)Image;
+ (UIButton*)createButton:(CGRect)frame title:(NSString*)title normalImage:(UIImage*)normalImage selectImage:(UIImage *)selectImage;
// 快速生产出lable
+ (UILabel*)createLabel:(CGRect)frame title:(NSString*)title color:(UIColor*)color font:(UIFont*)font textAlignment:(NSTextAlignment)alignment;
+ (CGSize)autoSizeFrame:(CGSize)sizeFrame withFont:(UIFont*)font withText:(NSString *)text;
@end
